#ifndef __KIPCMACRO_h__
#define __KIPCMACRO_h__
#include "kxe_serialize.h"


#define KXE_RCF_METHOD(_Function, _In, _Out)	\
	int __stdcall _Function(_In const& in, _Out& out)\
	{\
		return call_server1_1(m_pParamsWorker->sock, L#_Function,const_cast<_In&>(in),out);\
	}

typedef struct _KXE_NULL_PARAMETER
{
	int nNullValue;
} KXE_NULL_PARAEMETER;
KXE_JSON_DDX_BEGIN(KXE_NULL_PARAEMETER)
	KXE_JSON_DDX_MEMBER_DEFAULT("NullValue", nNullValue, 0);
KXE_JSON_DDX_END()


#endif